home *** CD-ROM | disk | FTP | other *** search
- SYR2(3F) Last changed: 11-2-98
-
-
- NNAAMMEE
- SSSSYYRR22, DDSSYYRR22 - Performs symmetric rank 2 update of a real symmetric
- matrix
-
- SSYYNNOOPPSSIISS
- Real
-
- CCAALLLL SSSSYYRR22 ((_u_p_l_o,, _n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _y,, _i_n_c_y,, _a,, _l_d_a))
-
- Double precision
-
- CCAALLLL DDSSYYRR22 ((_u_p_l_o,, _n,, _a_l_p_h_a,, _x,, _i_n_c_x,, _y,, _i_n_c_y,, _a,, _l_d_a))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- These routines perform the following symmetric rank 2 operation:
- _T _T
- _A <- _a_l_p_h_a _x_y + _a_l_p_h_a _y_x + _A
- _T _T
- where _a_l_p_h_a is a real scalar, _y is the transpose of _y, _x is the
- transpose of _x, _x and _y are _n-element vectors, and _A is an _n-by-_n real
- symmetric matrix.
-
- This routine has the following arguments:
-
- _u_p_l_o Character*1. (input)
- Specifies whether the upper or lower triangular part of
- matrix _A is being supplied, as follows:
-
- _u_p_l_o= 'U' or 'u': only the upper triangular part of array _a
- is referenced.
- _u_p_l_o= 'L' or 'l': only the lower triangular part of array _a
- is referenced.
-
- _n Integer. (input)
- Specifies the order of matrix _A. _n >= 0.
-
- _a_l_p_h_a Scalar alpha. (input)
- SSSSYYRR22: Real.
- DDSSYYRR22: Double precision.
-
- _x Array of dimension 1+(_n-1) * |_i_n_c_x|. (input)
- SSSSYYRR22: Real array.
- DDSSYYRR22: Double precision array.
-
- _i_n_c_x Integer. (input)
- On entry, _i_n_c_x specifies the increment for the elements of
- _x. _i_n_c_x must not be 0.
-
- _y Array of dimension 1+(_n-1) * |_i_n_c_y|. (input)
- SSSSYYRR22: Real array.
- DDSSYYRR22: Double precision array.
-
- _i_n_c_y Integer. (input)
- On entry, _i_n_c_y specifies the increment for the elements of
- _y. _i_n_c_y must not be 0.
-
- _a Array of dimension (_l_d_a,_n). (input and output)
- SSSSYYRR22: Real array.
- DDSSYYRR22: Double precision array.
-
- Before entry with _u_p_l_o='U' or 'u', the leading _n-by-_n upper
- triangular part of array _a must contain the upper triangular
- part of the symmetric matrix and the strictly lower
- triangular part of _a is not referenced. On exit, the upper
- triangular part of the updated matrix overwrites the upper
- triangular part of array _a.
-
- Before entry with _u_p_l_o='L' or 'l', the leading _n-by-_n lower
- triangular part of array _a must contain the lower triangular
- part of the symmetric matrix and the strictly upper
- triangular part of _a is not referenced. On exit, the lower
- triangular part of the updated matrix overwrites the lower
- triangular part of array _a.
-
- _l_d_a Integer. (input)
- Specifies the first dimension of _a as declared in the
- calling program. _l_d_a >= MMAAXX(1,_n).
-
- NNOOTTEESS
- SSSSYYRR22/DDSSYYRR22 is a Level 2 Basic Linear Algebra Subprogram (Level 2
- BLAS).
-
- When working backward (_i_n_c_x < 0 or _i_n_c_y < 0), this routine starts at
- the end of the vector and moves backward, as follows:
-
- _x(1-_i_n_c_x * (_n-1)), _x(1-_i_n_c_x * (_n-2)) , ..., _x(1)
-
- _y(1-_i_n_c_y * (_n-1)), _y(1-_i_n_c_y * (_n-2)) , ..., _y(1)
-
- SSEEEE AALLSSOO
- HHEERR22(3F)
-
- This man page is available only online.
-